package com.example.demo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.demo.common.Result;
import com.example.demo.entity.SysQuestionAnswer;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ld&zjw
 * @since 2024-01-27
 */
public interface SysQuestionAnswerService extends IService<SysQuestionAnswer> {

    public boolean save(SysQuestionAnswer news);

    public int update(SysQuestionAnswer news);

    public int update(Long id);

    public SysQuestionAnswer getById(Long id);

    public Page<SysQuestionAnswer> findPage(Integer pageNum, Integer pageSize, String search);

}
